<?php

namespace App\Models;

use App\Models\Base;

/**
 * Class ConsultationRecord
 *
 * @package App\Models
 * @property int $id
 * @property int|null $consultation_id
 * @property int|null $asker_id 提问者iD
 * @property int|null $answer_id 回答者ID
 * @property string $content 对话内容
 * @property string|null $created_at 创建时间
 * @method static \Illuminate\Database\Eloquent\Builder|ConsultationRecord newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|ConsultationRecord newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|ConsultationRecord query()
 * @method static \Illuminate\Database\Eloquent\Builder|ConsultationRecord whereAnswerId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|ConsultationRecord whereAskerId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|ConsultationRecord whereConsultationId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|ConsultationRecord whereContent($value)
 * @method static \Illuminate\Database\Eloquent\Builder|ConsultationRecord whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|ConsultationRecord whereId($value)
 * @mixin \Eloquent
 */
class ConsultationRecord extends Base
{


       protected $table = 'consultation_records';
       protected $fillable = [
           'consultation_id', 'asker_id', 'answer_id', 'content', 'created_at'
       ];

       public $timestamps = false;
}
